const Mock = require('mockjs')

const data = Mock.mock({
	"list|50": [{
		name: "@cword(2, 5)",
		address: "@county(true)",
		tel: /1[3-8]\d{9}/,
		id: '@id',
		"state|1": ['已经收取', '未收取', "正在收取", "收取失败"],
		"tips": "@csentence"
	}],
	userList: [{
		username: 'admin',
		password: 'admin',
		nickname: '管理员',
		permission_ids: '100, 110, 120, 130, 140, 150'
	}, {
		username: 'test',
		password: 'test',
		nickname: '测试用户',
		permission_ids: '100, 110, 120, 130'
	}, {
		username: 'zhangsan',
		password: '123456',
		nickname: '小三三',
		permission_ids: '100, 110, 120'
	}]
})

module.exports = data